#include "driver_l2.h"
#include "system_timer.h"


void drv_l2_init(INT8U prio_timer)
{

#if (defined _DRV_L2_SYS_TIMER_EN) && _DRV_L2_SYS_TIMER_EN
	sys_init_timer(prio_timer);
#endif
#if (defined _DRV_L2_EXT_RTC) && _DRV_L2_EXT_RT
	drv_l2_external_rtc_init();
#endif
#if (defined _DRV_L2_IR) && _DRV_L2_IR
	drv_l2_ir_init();
#endif
}
